using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace ExAsistent
{
    public class Solicituds : SolicitudCursEstiu
    {
        string nom; 
        string nif; 
        TipusAlumne alumneTipus;
        DateTime datanaixement;
        string codiprov;
        string codiIneMunicipi;
        string codiIneMunicipiReferencia;
        CategoriaEstudis tipusCurs;
        string codicurs;
        Horari horariAlumne;
        FormaPagament pagament;
        bool docDni;
        bool docDomiciliacio;
        bool docTitulacio;
        TipusResultat resultat;

        public System.Data.DataTable LlistatProvinciesPropiaiUnica()
        {
            throw new Exception("The method or operation is not implemented.");
        }

        #region Miembros de SolicitudCursEstiu

        public System.Data.DataTable LlistatProvincies()
        {
            throw new Exception("The method or operation is not implemented.");
        }

        public System.Data.DataTable LlistatPoblacionsProvincia(string CodiProvincia)
        {
            throw new Exception("The method or operation is not implemented.");
        }

        public System.Data.DataTable LlistatCursosPerCategoria(CategoriaEstudis CategoriaTriada)
        {
            throw new Exception("The method or operation is not implemented.");
        }

        public DateTime DataCurs(int IdentificadorCurs, Horari Horari)
        {
            throw new Exception("The method or operation is not implemented.");
        }

        public double PreuCurs(int IdentificadorCurs, Horari Horari)
        {
            throw new Exception("The method or operation is not implemented.");
        }

        public void CarregarDades(string nom, string nif, TipusAlumne alumneTipus, DateTime datanaixement, string codiprov, string codiIneMunicipi, string codiIneMunicipiReferencia, CategoriaEstudis tipusCurs, string codicurs, Horari horariAlumne, FormaPagament pagament, bool docDni, bool docDomiciliacio, bool docTitulacio)
        {
            this.nom = nom;
            this.nif = nif;
            this.alumneTipus = alumneTipus;
            this.datanaixement = datanaixement;
            this.codiprov = codiprov;
            this.codiIneMunicipi = codiIneMunicipi;
            this.codiIneMunicipiReferencia = codiIneMunicipiReferencia;
            this.tipusCurs = tipusCurs;
            this.codicurs = codicurs;
            this.horariAlumne = horariAlumne;
            this.pagament = pagament;
            this.docDni = docDni;
            this.docDomiciliacio = docDomiciliacio;
            this.docTitulacio = docTitulacio;            
        }

        public string ResumDadesEntrades()
        {
            string resum = "";
            resum += nom + " " + nif;
            resum += datanaixement;
            //TODO: Afegir tots els camps
            return resum;
        }

        public TipusResultat ResultatSolicitud()
        {
            throw new Exception("The method or operation is not implemented.");
        }

        public void DesarSolicitud()
        {
            throw new Exception("The method or operation is not implemented.");
        }

        public bool esMenorEdat16()
        {
            throw new Exception("The method or operation is not implemented.");
        }

        public bool esMenorEdat18()
        {
            throw new Exception("The method or operation is not implemented.");
        }

        public bool calDocumentacioDNI()
        {
            throw new Exception("The method or operation is not implemented.");
        }

        public bool calDocumentacioDomiciliacio()
        {
            throw new Exception("The method or operation is not implemented.");
        }

        public bool calDocumentacioCertificat()
        {
            throw new Exception("The method or operation is not implemented.");
        }

        #endregion
    }
}
